public class Animal2 {
    protected String name;

    public Animal2(String name) {
        this.name = name;
    }
}
